package com.zjsd.sqeybusiness.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 cost
 *
 * @author Zheng
 * @date 2021-07-20
 */
public class Cost extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long costid;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userid;

    /** 业务员姓名 */
    @Excel(name = "业务员姓名")
    private String username;

    /** 所在部门id */
    @Excel(name = "所在部门id")
    private Long deptid;

    /** 所在部门名称 */
    @Excel(name = "所在部门名称")
    private String deptname;

    /** 费用金额 */
    @Excel(name = "费用金额")
    private Long zje;

    /** 费用日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "费用日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date date;

    /** 录入时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "录入时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lrtime;

    @JsonFormat(pattern = "yyyy/MM/dd")
    private Date startDate ;
    @JsonFormat(pattern = "yyyy/MM/dd")
    private Date endDate ;

    private String bz ;

    public void setCostid(Long costid)
    {
        this.costid = costid;
    }

    public Long getCostid()
    {
        return costid;
    }
    public void setUserid(Long userid)
    {
        this.userid = userid;
    }

    public Long getUserid()
    {
        return userid;
    }
    public void setUsername(String username)
    {
        this.username = username;
    }

    public String getUsername()
    {
        return username;
    }
    public void setDeptid(Long deptid)
    {
        this.deptid = deptid;
    }

    public Long getDeptid()
    {
        return deptid;
    }
    public void setDeptname(String deptname)
    {
        this.deptname = deptname;
    }

    public String getDeptname()
    {
        return deptname;
    }
    public void setZje(Long zje)
    {
        this.zje = zje;
    }

    public Long getZje()
    {
        return zje;
    }
    public void setDate(Date date)
    {
        this.date = date;
    }

    public Date getDate()
    {
        return date;
    }
    public void setLrtime(Date lrtime)
    {
        this.lrtime = lrtime;
    }

    public Date getLrtime()
    {
        return lrtime;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public String getBz() {
        return bz;
    }

    public void setBz(String bz) {
        this.bz = bz;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("costid", getCostid())
            .append("userid", getUserid())
            .append("username", getUsername())
            .append("deptid", getDeptid())
            .append("deptname", getDeptname())
            .append("zje", getZje())
            .append("date", getDate())
            .append("lrtime", getLrtime())
                .append("startDate",getStartDate())
                .append("endDate",getEndDate())
                .append("bz",getBz())
            .toString();
    }
}
